from selenium import webdriver
from time import sleep


def edge():
    """打开edge浏览器，最大化窗口"""
    driver = webdriver.Edge()
    driver.implicitly_wait(30)
    driver.maximize_window()
    return driver


def chrome():
    """打开chrome浏览器，最大化窗口"""
    driver = webdriver.Chrome()
    driver.implicitly_wait(30)
    driver.maximize_window()
    return driver

